package com.duoec.dw.lineage.dto;

import java.io.Serializable;
import java.util.List;

/**
 * DDL变更影响
 *
 * @author xuwenzhen
 */
public class DdlChangeDto implements Serializable {
    /**
     * 库名
     *
     * @demo duoec_ap_house
     */
    private String databaseName;

    /**
     * 变更的表名
     *
     * @demo house_detail
     */
    private String tableName;

    /**
     * 变更脚本
     * @demo ALTER TABLE ...
     */
    private String sql;

    /**
     * 变更条目
     */
    private List<DdlChangeItemDto> items;

    public String getDatabaseName() {
        return databaseName;
    }

    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public List<DdlChangeItemDto> getItems() {
        return items;
    }

    public void setItems(List<DdlChangeItemDto> items) {
        this.items = items;
    }
}
